<?php

$hostName = gethostname();
if ($hostName == 'haioo-web01'||$hostName == 'haioo-web02') {
    $value = array (
  'host' => 'haioo2015.mysql.rds.aliyuncs.com',
  'user' => 'haioo_programmer',
  'pass' => 'haioo999',
  'name' => 'pintuan',
);
} elseif ($hostName == 'haioo_test') {
    $value = array (
  'host' => 'haiootest.mysql.rds.aliyuncs.com',
  'user' => 'haioo_programmer',
  'pass' => 'haioo999',
  'name' => 'pintuan',
);
} else {
    $value = array (
  'host' => '192.168.11.46',
  'user' => 'root',
  'pass' => 'haiootest&!#*!$',
  'name' => 'pintuan',
);
}




?>